import request from '@/plugins/axios'
import qs from 'qs'
export default {
    login(loginInfo){
        return request({
            url:`/user/login`,
            method:'post',
            data:qs.stringify(loginInfo)
        })
    },
    getInfo(){
        return request({
            method:'get',
            url:`/user/getUserInfo`
        })
    },
    getImg(){
        return request({
            url:'/user/getCode',
            method:'get'
        })
    }
}